logout event implemented [ci skip]

Signed-off-by: Christian Lüthold <biocodr@gmail.com>
logout event tested [ci skip]

Signed-off-by: Christian Lüthold <biocodr@gmail.com>