Added get_friend api