changes mailer url to production url
fixes user model error
fixes user approval error