adapt cli create_user to new structure and parameter