Updated encryption to SHA-256 and added an email check to ResetPassword.