added user mailer functionality