first patch of file transfer, ls command, login db, user clearing control

started the work on transferring files. not tested yet!
the ls command is ready (?), untested!
login db - improve some little bugs
user clearing control - only the base is built.