Rudimentary login and logout implemented.

Using cookies to store session and user info.

to-do:  check for the cookie when a page loads and populate certain
elements if the user logged in