now catches missing resource urls to redirect to home page with a flash notice