clean up the routes and added all public access routes with templates