add logic to retrieve friends