Working with the login trying to setup the Hash

Some issues, but most of it works.
commented out login for trouble shooting purposes