updated input in html from type=button to type=submit, this corrected temp issue of having a multiple entry until page was refreshed, all code passing