In my webapp, when I click on the login link, the Tomcat webserver throws the following exception:
exception javax.servlet.ServletException: /aluno_jsf.xhtml
Logout isn't a property accessor, it's a method.
Try this: #{loginMB.logout()} instead