adding in bases for requested pages along with routes and links to