Adding flash messages for file upload, and removed an unnecessary route