Corrected Session controller, routes, added mailer