contorller : index: add logout event