Implement index page functionality