logout test, not finished yet