navbar search method, action and button