@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
  public @ResponseBody Map<String, Object> delete(@PathVariable("id") long id) {
    String username = SecurityContextHolder.getContext().getAuthentication().getName();
    Map<String, Object> map = new HashMap<>();
    if (authService.delete(authService.getById(id), username)) {
      map.put("msg", true);
    } else {
      map.put("msn", false);
    }

    return map;
  }