test function logout