Implemented password hashing with salt.
Implemented login and logout function.