added a login redirect to the download script