Wrap user creation in a transaction