[enh] Return data at log in/out