Fixed a bug with the websocket showing the disconnected message when not logged in