changes to admin and added mailer