added validations to person