finished some funtion for add friend list