Be it further enacted by the authority aforesaid that at its first regular meeting the mayor and council shall elect a city attorney whose term of office shall be one year, and whose duties shall be such as are required by the ordinances of the city, and who shall be paid such compensation as may be agreed between himself and the mayor and council. Whenever, in the judgment of the mayor and council, it shall become necessary to employ additional council to assist said attorney or to pay said attorney for additional work, authority so to do is hereby conferred upon said mayor and council.