add home directory and groups