adds the form to the index.html page