Added Validations 

added basic validations