added functionality to search and add contact