add telnet logout