Merge pull request #361 from liuchuangww/user

Fix add user and refactor register
Refactor register and build data