*/
public String admin() {
String newCategory = get("newCategory");
if (StringUtils.isNotBlank(newCategory)) {
if (entityDao.get(UserCategory.class, "name", newCategory).isEmpty()) {
UserCategoryBean category = new UserCategoryBean();
category.setName(newCategory);
entityDao.saveOrUpdate(category);
return redirect("admin", "info.save.success");
} else {
return redirect("admin", "info.save.failure");
}