removed debug statements from websocket
fixed logout