add search by name or id