renamed form id and corrected the submit handler