Added change to try and send email confirmation before saving new user to database. Also removed verbose phpmailer errors.