fixed search feature, added loading spinner, added style