resource routing for pages