Made the submit button disabled when invalid