formValidator

Added formValidation features and other changes