logout workingish
with event listing