logging in via ajax works now. Removed logout.xhtml, its functionality
is now included in login.xhtml.