The powers and duties of the housing authority shall be such as are now, or may be hereafter vested in such authority by law and by the ordinances of the city.