added loading indicator on search