searchContact function working