Added basic user factory, to allow overriding user instances.