Add the logout() function
Add the logout() function

This adds the logout() function to the main controller, so that if you
click the logout button, it actually does something ;-)

bertjwregeer/alexandria,cdunklau/alexandria,bertjwregeer/alexandria,cdunklau/alexandria,cdunklau/alexandria