added get all groups async task
added allgroups method