Fix logged-in index