move notify() to a new module
login is now mandatory for downloads
improve error handling when downloading and extracting archives