Fixed login/logout issues

Needed to add the ajax="false" parameter to the buttons because
primefaces.