added mailer config and password controller