add port for production enviroment and Heroku process file
add the required attribute to input elements
remove the inline js for handling click event
add the form attributes id
process the success or failure of the response from the server