In all counties of the second, third and fourth classes, the county commission may provide living quarters for the sheriff, in addition to the compensation authorized by law.