add search bar and the function to get the ID og the page in search bar