add logout, #8