修改了user factory