adds websocket
finishing up