edited routes for pages