Added function for adding search bar