The board of commissioners shall have the power to regulate the distribution and use of water in all places and for all purposes, and from time to time shall fix the price for the use thereof and for payment; and may regulate such number of public hydrants and in such places as they may see fit, and for what purposes they shall be used; and all of which at their discretion. They shall have power and authority to require the payment in advance for the use and rent of water furnished by them in any building, and in case of failure they may shut off the water from the premises and shall not be required to supply the said building until said arrears, with interest thereon, shall be paid.