Created API for users and rooms.