Added validation for a contact