added a spec for hashing passwords with the userfactory