Chat app using websocket