log out index controller