fixed bug in users.py in list_groups