added support to return a list of group memberships

true. Fixing