added search for candidate

added search for candidate