Added password hashing functions