fix upload photo and add friend