I not have data writing to the database. I also made a javascript file to validate form input
removed debug statements