Setting up GCM in the API