Changed submit.html to have methods