changes to allow for metadata to be sent back on transaction registration (with staff details)