So i restored my used iPhone 5 because I was selling it and during the iTunes set up it said the phone was locked into my Apple ID. So i put the ID in the account, then got into the phone because without it it was locked and no way to use it. When i got in the phone I restored the phone agin via "contents and settings" under general settings. I got the phone to function again and sold it but now I am wondering if that removed my Apple ID from the phone and anything else that may have been cached into the phone. I ask because i did research to make sure the phone was completely deleted before i handed it over and online i read some articles that stated if i don't delete the phone via icloud/find or whatever then it won't remove everything and the phone will still be A) locked to the Apple ID and B) the phone will have whatever that is cached into it still. So did i just sell my phone with some stuff possibly on it?