private static void CheckStatus(User user)
 {
     if (user.Status != UserStatus.Active)
         throw new UnauthorizedAccessException("User is inactive.");
 }
 public void UpdateNewAuthKey(User user, string authKey)
 {
     throw new NotImplementedException();
 }