implement search in ui