Updated users factory
fix for #13