method to search for a person