ftp login and logout now working