correct logout