Add controller for index page.