register device for GCM