Session data

Fixed session bug.  dashboard page should throw you out if you are not
logged in.  Fixed logout functionality.