setup routes for pages