created websocket handler for live lines