fix the avatar upload bug and add follower judgement function