Using UnlockGateway.register