The city council shall have the power to provide for and grant pensions or other compensation to employees in each and all departments thereof (except as herein expressly excluded) where and when such employees have performed such services and made such contributions as shall be prescribed by the city council. The city council shall have the further authority to provide for the return of contributions made by employees under any plan adopted hereunder, to such employees, or, in case of their deaths, to such other persons as the city through its governing body may prescribe.