Get the index pages working for the app