delete the avatar property in userdetails