Parse connection at start up

Parse id and client key added in a function which runs on start up
(didFinishLaunchingWithOptions)