user factory changes