add some routes and templates