added basic websocket endpoint