add devise and mailer support