Merge pull request #318 from liuchuangww/user

Change check duplication to exist
Merge pull request #319 from liuchuangww/user

Fix add user action
Fix getuser and refactor user module