Configure logging.
Add logging for a few actions.
Handle unregistered devices.
Last seen is a better information about a device.