Do you have a workflow set up like this? If not, you might want to add it.
On page load → Go to page ‘index’, Only When the Current User is not logged in.
Or
Current User is Logged Out → Go to page ‘index’