Added online/offline status based on websocket connection/disconnection

Nick claims part of this commit for some reason