Login session impl #20 
Example how to show or not content depends on permission is added (manager.xhtml).