set up reset password instructions text
refactored database queries
typo