protected virtual void OnUserReceived(RemoteUser user) { currentUser = user; }
protected virtual void afterLogout() { server.stopAndRemoveCurrentRequests(); currentUser = null; }