Refactoring: decomposed account creation into independent blocks