@PreAuthorize("hasRole('ROLE_SUPERUSER')")
 @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
 public String delete(
     @PathVariable("id") Long id,
     @RequestParam(value = "page", required = false) Integer page,
     @RequestParam(value = "size", required = false) Integer size,
     Model model) {
   UserAccount.findUserAccount(id).remove();
   model.addAttribute("page", (page == null) ? "1" : page.toString());
   model.addAttribute("size", (size == null) ? "10" : size.toString());
   return "redirect:/useraccounts?page="
       + ((page == null) ? "1" : page.toString())
       + "&size="
       + ((size == null) ? "10" : size.toString());
 }
 @PreAuthorize("hasRole('ROLE_SUPERUSER')")
 @RequestMapping(value = "/{id}", params = "form", method = RequestMethod.GET)
 public String updateForm(@PathVariable("id") Long id, Model model) {
   model.addAttribute("userAccount", UserAccount.findUserAccount(id));
   return "useraccounts/update";
 }