websockets working - log in, log out