add creation of downloads in DownloadsController