added search bar to top and pagination