for(int i = 0; i < subGroups.length; i++) {
user.addGroup(subGroups[i]);
}
//create the account
securityManager.addAccount(user);
//if we created a personal group, then add the new account as a manager of their personal group
if(getSignature().getArgumentCount() == 3 || getSignature().getArgumentCount() == 5) {
final Group group = securityManager.getGroup(username);
group.addManager(securityManager.getAccount(username));