Added password hashing for database and verify