Fix to get groups for a user
trying to resolve npm version issue