protected virtual void OnAuthenticationDenied(AuthenticationResult authenticationResult, string user)
 {
     if (PendingAndLoggedInUsers.ContainsKey(authenticationResult.Connection))
     {
         PendingAndLoggedInUsers.Remove(authenticationResult.Connection);
     }
 }
 protected virtual bool AuthorizedForMessage(NetConnection connection)
 {
     return(PendingAndLoggedInUsers.ContainsKey(connection));
 }