Added logic for searching for a friend. Currently it only searches locally