Do not use a superfluous transaction in the method createUser.
Fixed typo in method name.