You can use SetSessionLevel() to determine which part(s) of menu, and of course the whole menu, to hide or show... On login just put p_web.SetSessionLevel(x), where x is level regarding user(s) level.... And on logout just clear that level, or put p_web.SetSessionLevel(100), for example...
Or use: LoginForm?Logout_btn=yes on logout
Regards, Oggy.