logout on unlink