getCustomerRegistryCollection function added to the blokc