public AccountController(ApplicationUserManager userManager,
                          ISecureDataFormat <AuthenticationTicket> accessTokenFormat, UserRepasitory userRepo)
 {
     UserManager       = userManager;
     AccessTokenFormat = accessTokenFormat;
     UserRepo          = userRepo;
 }
        protected override void Dispose(bool disposing)
        {
            if (disposing && _userManager != null)
            {
                _userManager.Dispose();
                _userManager = null;
                _userRepo    = null;
            }

            base.Dispose(disposing);
        }