putting all rooms in database