added routes and template views for each one