Corrected routes and template names.