initial websocket integration