placed the search bar on the original view controller
logic for individual view done