app now loads all pages on first load