The mayor and council of said city may enact such rules and regulations, either by resolution or ordinance, as to them may seem proper for the management and control of said waterworks, electric light and sewerage systems, and shall have the right and power to punish all persons for violations of the same. Said mayor and council may require payment in advance for the use of water and electric current, or at maturity, in their judgement, and in case payment shall not be made as required, may shut off lights and water from all buildings, places and premises, and may keep the same shut off in their discretion, until all arrears, with interest and other proper charges thereon, shall be fully paid.