added dao for groups