Create user tests finished
Fix some bugs