Handle sessions globally and update navigation.

This pull request implements global session handling for the client. It also adds a new route for logging out the user and gives the navigation a facelift.

Does it look fine to you, @mex?