(1) minor refactoring
(2) Add another UserDaoImpl to make current code compatible with common-db-config