Added support for hashing password