private bool HasPassword(UserManager manager)
 {
     return manager.HasPassword(User.Identity.GetUserId());
 }