refactored creating user accounts into separate extension