To use the login node currently, one you login it disappears. If you want to be able to logout you need to:
1.) set sessionScope.put("ext.lib.canlogout", true)
2.) Make sure there's no Label set for the node.
Doing these 2 things will then make it will show and switch between login and logout. (Of course logout is not currently working and I submitted that as a defect.)
Rather then a sessionScope variable to control visibility there be a property for "Can Logout?". To control displaying the logout link?
Also can we have indepentent labels for "Login Text" and "Logout Text"?
And I wonder if there should be properties for Login redirectTo and Logout reDirectTo. Login probably isn't need as much but logout might be.
Thanks for the consideration.