changed to get status on login, and not to log agents out when websocket is gone