changed hashing mechanism for password storage