add uid and gids to users and groups