Added auto hashing of password