added password  hashing