It may be that you did get logged out but when you went to the homepage you were viewing a cached copy of it from your browser.
Next time you logout, go to the homepage and then actually refresh the browser. If that still shows you logged in, hold the shift key and then hit the refresh button. Then see what happens.