fix auth tests & change render not to set body & added mailer