added ajax call on search nav-bar