Added functional search bar