logout for wallscript