adding global validation to add contact