Added view controller with search bar and added delegates