added code to respond to search tap from search bar and added AFNetworking library