Moved room logic to room.html