added web socket communication and html for chatroom