implemented search on rooms.