adding support for device tokens, fixes #171