Added naive logout.