Update CreateUserCommand.java

refactoring the code and validation messages