userNameField = new EmailTextField("userName", Model.of(""));
userNameField.setRequired(true);
userNameField.setOutputMarkupId(true);
userNameField.setLabel(new ResourceModel("home.identification.classic.email"));
userNameField.add(new LabelPlaceholderBehavior());
signInForm.add(userNameField);
passwordField = new PasswordTextField("password", Model.of(""));
passwordField.setLabel(new ResourceModel("home.identification.classic.password"));
passwordField.add(new LabelPlaceholderBehavior());
signInForm.add(passwordField);
// Registration link
signInForm.add(new BookmarkablePageLink<Void>("classicRegisterLink", RegisterPage.class));
signInForm.add(new BookmarkablePageLink<Void>("forgottenPasswordLink", ForgottenPasswordPage.class));