Updated the user factory