added activatecase, update connmgr, caseDAo, viewCase and a pic