search occurs on hitting enter
added loading spinner to search page