fix adding friend method