added form validation for checkout