leave authorizeAndGetGroupId as is for now