cleaned it up a bit, mailer not working, i removed authorization for now