register device for push notifications