237 validations creation

validations added and error messages displayed on UI in a proper way