add API to query the relationship between two users