add GCMUtils, complete register device