changed routing for pages layout