Added initLogout to example page.