@maloki I don't have code for this, but: assign a unique "foreign ID" to each local account based on a hash of some unique identifier - microsecond-level creation date+time, maybe - and then pass that "foreign ID" along with any reports sent to a remote instance. When the remote instance deals with the report, have it send a message back to the local instance along with the "foreign ID", which the local instance can then match to a particular user.