Merge pull request #298 from liuchuangww/user

Add check duplication interface
Fixes logic flaw in view strategy
CS fixes
User add with check uniquess
Merge pull request #299 from sexnothing/user

User add with check uniquess
Add edit user for admin