fixing login with action mailer