Updating header to use sessions

I have been trying to follow the script from 17.1, but
I don't like the default sessions included, and I also
would like to use cookies for this project.  I spent a lot
of time setting up the login via cookies, and don't feel like
scraping it.

This commit is to save the work I did following the script.
My next commit will likely be me hacking it to my needs/desires.