adjusted api for getting friendship status so that it returns the id of the friendship as well