encrypt password given at login to check against the db
[#37]