add logout operation