Tried adding search to navbar - only works in index