Login is now thread safe and download of torrent corrected