Functional navbar search