changed common name and credenital search to use a filter