use register method to send welcome email to users