refactored index.js route to index.html and created index.html file with form