added session 'logged in' check to all relevant pages.
adjusted the home and deck views. Added logout function. Unless user is logged in they are not allowed to access the rest of the site.