Back when I was working on game center stuff I used this Sample application developed by Apple for my references. I couldn't find it on their site anymore but it looks like some kind person hosted it on github for you!
I'm not sure how much of this has changed since iOS7 but I highly suggest this as a start