Proper implementation of adding friends.