End of chapter  6 -- Fixing bcrypt errors