App class. Issue #14: logout link. Issue #12: apikeys in cookies.