Updated some checks on registering.
Added a util for hashing a string.
Changed how the auth renders the SecureString()
Implemented logging in.