Adding authentication on all controllers
Fixing mailer link from path to url