uncommented all code bar the call to user_mailer