adds the routes for some internal pages