validations for person and company