(a) The city council shall have the power to grant franchises for the use of the city's streets by telephone companies, electric companies, electric membership companies, cable television and other telecommunications companies, gas companies, transportation companies and other similar organizations. The city council shall determine the duration, terms, whether the same shall be exclusive or nonexclusive, and the consideration for such franchises; provided, however, no franchise shall be granted for a period in excess of 35 years and no franchise shall be granted unless the city council receives just and adequate compensation therefor. The city council shall provide by ordinance for the registration of all franchises. (b) If no franchise agreement is in effect, the city council has the authority to impose a tax on gross receipts for the use of the city's streets for the purposes of railroads, telephone companies, electric companies, electric membership corporations, cable television and other telecommunications companies, gas companies, transportation companies and other similar organizations.