finished file-package login(untested)