Added index page and output in the layout file.