adding websocket