added support for fetch invoked startup and logged device token