Parties having no garbage or trash shall not be required to pay any service charge: Provided, The governing body may pass ordinances prohibiting the accumulation of garbage and trash other than as specified to the end that the city may be kept clean and sanitary, and may prohibit the owners of garbage and trash from transporting it along the streets or disposing of it in a manner causing a nuisance or in unsightly and insanitary ways.