added template layout to index.html