fix /search and integrate search bar