Reverting a few changes.
Removed pointless password hash.
Added some comments.