Added search bar and search button functionality to the directory.