Added Websocket event listeners