modify function getNonMembers, searchContacyByName, and searchContactByEmail