server displays index.html using templating