Make the logic of adding friend clear.related table