updated new method useraccountfactory