private bool ValidatePassword(string password, User user) { return(Encrypt.CompareComputeHash(password, user.UserId.ToString(), user.Password)); }