destroy project redirects to index page with flash message