Implemented the index page.