City council passes bills to protect renters and end homelessness