Add hashPassword Function