Password hashing added before saving to database