another fix for user creation and parameter for hostname