update main page when logged out