Implemented template to index page.