add chatroom function in room.html