Index: eprms-tap/src/main/java/info/ajanovski/eprms/tap/pages/user/MyRepositoryAuth.java
===================================================================
--- eprms-tap/src/main/java/info/ajanovski/eprms/tap/pages/user/MyRepositoryAuth.java	(revision fd871f66e413d75a4f88926f625f0613b44f8705)
+++ eprms-tap/src/main/java/info/ajanovski/eprms/tap/pages/user/MyRepositoryAuth.java	(revision 99e3758f1124a6d235e4ed2293c73abea47268e0)
@@ -31,4 +31,5 @@
 import org.apache.tapestry5.hibernate.annotations.CommitAfter;
 import org.apache.tapestry5.ioc.annotations.Inject;
+import org.slf4j.Logger;
 
 import info.ajanovski.eprms.model.entities.Person;
@@ -51,4 +52,7 @@
 	private GenericService genericService;
 
+	@Inject
+	private Logger logger;
+
 	@Property
 	private String password;
@@ -60,4 +64,6 @@
 	private Form authForm;
 
+	@InjectComponent("password")
+	private PasswordField pfPassword;
 	@InjectComponent("confirmPassword")
 	private PasswordField pfConfirmPassword;
@@ -65,4 +71,5 @@
 	public void onValidateFromAuthForm() {
 		if (password != null && confirmPassword != null && !password.equals(confirmPassword)) {
+			authForm.recordError(pfPassword, "Enter two identical and non-empty passwords.");
 			authForm.recordError(pfConfirmPassword, "Enter two identical and non-empty passwords.");
 		}
@@ -79,6 +86,7 @@
 				myself.setAuthString("{SHA}" + Base64.getEncoder().encodeToString(md.digest()));
 				genericService.save(myself);
+				authForm.clearErrors();
 			} catch (Exception e) {
-				System.out.println(e);
+				logger.error("Password setup failed {}", e);
 			}
 		}
