logout, log in required for index page