Changed rendering to index.html template