fixed login
added mailer config for devise