added loading indicator to async component loading