Updated API calls to load in pages.