added redirect_url and progress bar to the file upload directive