Add loading animation to all pages where apis are accessed  fixes #3