websocket check for logged out