user state cleanups