added action routes and templates