{"action":"opened","issue":{"url":"https://api.github.com/repos/ushahidi/platform-android/issues/72","labels_url":"https://api.github.com/repos/ushahidi/platform-android/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/ushahidi/platform-android/issues/72/comments","events_url":"https://api.github.com/repos/ushahidi/platform-android/issues/72/events","html_url":"https://github.com/ushahidi/platform-android/issues/72","id":106259763,"number":72,"title":"Logout issue","user":{"login":"pramodcs","id":14026909,"avatar_url":"https://avatars.githubusercontent.com/u/14026909?v=3","gravatar_id":"","url":"https://api.github.com/users/pramodcs","html_url":"https://github.com/pramodcs","followers_url":"https://api.github.com/users/pramodcs/followers","following_url":"https://api.github.com/users/pramodcs/following{/other_user}","gists_url":"https://api.github.com/users/pramodcs/gists{/gist_id}","starred_url":"https://api.github.com/users/pramodcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramodcs/subscriptions","organizations_url":"https://api.github.com/users/pramodcs/orgs","repos_url":"https://api.github.com/users/pramodcs/repos","events_url":"https://api.github.com/users/pramodcs/events{/privacy}","received_events_url":"https://api.github.com/users/pramodcs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ushahidi/platform-android/labels/Bug%20report","name":"Bug report","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T02:26:10Z","updated_at":"2015-09-14T02:26:11Z","closed_at":null,"body":"Sometimes logout button shows up even when a user is not logged in. This is because the instruction \"mSessionManager.getActiveSession() != null\" evaluates to true in PostActivity. i.e., There is an active session when no user is logged in. \n\nWe should have a better way of detecting whether user is logged in or not."}}