add 'login' command to CLI interactive mode
change input method of interactive mode gets -> readline