public static bool UserKeyValid(this ApplicationUser user, string key) { var userKeyService = new UserKeyService(); return userKeyService.VerifyKeys(user.UserKeyHash, key.Trim()); }