Add in_group function
Add testing widget for debugging and role testing