Add loading indicator to slow routes and actions