Added layout to index view.