let the router take us to the index page after logout