Henrik Reitan #1.4.5
Implemented password hashing and salting