practicing authentication and learning mailer