add the front end of chat room