Transformed plan HTML content to XHTML.
Replaced hard-coded English message with translated one.
Removed unused import.
Perform a redirect to the user home page after a successful authentication operation to ensure that the browser will display the correct URL.
Removed unused id attributes.
Added styleClass attributes needed to style the page template.
Fixed welcome file to point to the user home page.
Removed unused CSS classes.
Added only the minimum style.