public ResetPage(PageParameters pp){
String resetHash = pp.get(RESET_PARAM).toString();
if (resetHash != null){
Object user = Application.getBean(AdminUserDao.class).getUserByHash(resetHash);
if (user instanceof User){
add(new ResetPasswordDialog("resetPassword", (User)user));
}else {
setResponsePage(Application.get().getSignInPageClass());
}
} else {
setResponsePage(Application.get().getSignInPageClass());