Changed password_hash to crypt in addUser