adding validations on customer model