@RequestMapping("/addUser.do")
  public String addUser(UserVO userVO, BindingResult rs, Model model, Locale locale) {
    Validator validator = new UserValidator();

    validator.validate(userVO, rs);

    boolean isError = rs.hasErrors();

    if (isError) {
      model.addAttribute("userVO", userVO);

      return "main/joinUser";
    }

    userService.addUser(userVO);

    model.addAttribute("resultMsg", message.getMessage("result.success.join", null, locale));
    model.addAttribute("resultUrl", "/main/main.do");

    return "common/result";
  }
 @RequestMapping(value = "/idOverlap.do")
 public @ResponseBody int idOverlap(@RequestParam("data") String userId) {
   return userService.getId(userId);
 }