profile creation bug cleanup and setting up of user mailer