accountProperties.put(Constants.PROPERTY_MACHINE_OS_NAME, System.getProperty("os.name")); //$NON-NLS-1$
accountProperties.put(Constants.PROPERTY_MACHINE_OS_ARCH, System.getProperty("os.arch")); //$NON-NLS-1$
accountProperties.put(Constants.PROPERTY_MACHINE_OS_VERSION, System.getProperty("os.version")); //$NON-NLS-1$
accountProperties.put(Constants.PROPERTY_MACHINE_USER_HOME, System.getProperty("user.home")); //$NON-NLS-1$
UserAccount account = userAccountService.createAccount(userName,
accountProperties, null);
// if we got one, open it now
if (account != null) {
loginFrame.openAccount(account);