working on common dao and role object