add logout event
add logout event