refactored create user commands