add websocket integration and messages