added in websocket functionality with slanger