Fixed redirect to index after logging out