Includes all functionality for xhtml.

checks passwords but does not inform user if new password doesn't meet minimal requirements