modification of download method, add notification when error happens during download, add margin to login form