renders index.html partially
adds words to database
shows index page and adds to database