Register and unregister for GCM