adding redirect to main page after complete upload