differentiate sync and async request with  activityIndicator