add user confirmation/validation and basic mailer functions