added mailer and responds_to for primary routes