setting user salt in factory