reset password with functions, mailer and tests