Added loading indicator for resources