added a mailer and admin password gen
added a test