Add searchbar functionality