fix list
fix encode in login
add login func to ui
rm output in ftp.py