added search functionality to the admin paage