Added 'get_groups_id' and 'get_groups' methods