Rewrite UserConsentDao.
Merge pull request #123 from eric-wu/develop

Rewrite UserConsentDao.