basics of presence plugins API
logging plugin