Everything is now working. I still have one small bug in clearing the form in the web page, but that is not a big deal.