Reroute page and display flash message after uploading csv