use dao for retrieving groups