Classic knack had Knack.logout(); which let you easily log out a user, e.g. when they click a custom button. This was useful if you built your own nav bar or had other reasons to log the user out and wanted to make that happen via js.
It doesn’t seem there is any such js api to initiate a logout with NextGen, but there should be!
Also, it would be great to have an event that fires when a user is logged out successfully e.g. Knack.on(‘logout’ => { ….. some code …. }); so that you could either redirect the user to a custom page or run some other code (e.g. clear the cookie from Intercom or similar chat widget).