User Transaction exemple upgrade

Making the code using User Transaction more readable
Simplifying the execution of the standalone client code