added loading indicator for search on the homepage