search input functionality.