Problems with Apple id
Since your phone only really talks to Apple's servers - you can sign out of your Apple ID in the store section of the settings App. Then check the date and time on the device (it needs to be somewhat close to the time on the servers for the security to work - within a minute should be fine) and then sign in again.