updates to index.html to incorporate db