added hashing passwords before sending