added validations to contact model