registering device for push notification

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>