Check logged-in status properly everywhere
Currently, after timeout, the front page still shows logged in status, but task loading fails due to timeout.
Currently, after timeout, the front page still shows logged in status, but task loading fails due to timeout.