Registering with barcode