Add loading indicator to main page