Hi there, I have searched that If you are using an iPhone 5 or iPod touch: When you sync your device, the account last used to access the iTunes Store from the computer is synced to the mobile device. So make sure you sign out of your friend's iTunes account before you sync your device, otherwise when you try to download the application via the app store on your phone you will be logged in as them.