add explicit groups for users if no gid

add username group if no gid given instead of relying on default linux behavior
append group with new users by default until [COOK-1679] is merged