dump app state by redirecting to root when logging out
add stats