users refactoring for better ftp integration