small update to user factory