Implementing GCM. Done registering and storing regId on server only.