Refresh using cookie

#39
Correctly handling cookie now.  It's written when the session starts.
It is changed to 'missing' during logout due to timeout,
missing/invalid cookie on refresh.
Areas are refreshing but that could be refactored more.
Styling of logout name and link needs to be checked.