seach bar now functional