added admin authentication to websocket connections