form.setModel(new CompoundPropertyModel(userTO));
//--------------------------------
// User details
//--------------------------------
form.add(new UserDetailsPanel("details", userTO, form, resetPassword, mode == Mode.TEMPLATE));
form.add(new Label("statuspanel", ""));
form.add(new Label("accountinformation", ""));
//--------------------------------