Added websocket handler