added pending_users to view_pending_groups