move create user to User.js
remove useless code