fixed the bug and added the id for submit button
removed the unwanted attributes