index page now works