added loading spinner to search