logging sessions when devices enteres and "leaves" a zone