this is why variables should be local by default.
refactor user creation to be integrated with transaction creation, avoiding a parallelism issue