@RequestMapping("/member_profile")
 public Model memberProfile(String id, Model model) {
   logger.info("개인 프로필 진입");
   logger.info("가져온 아이디{}", id);
   member = memberService.selectById(id);
   model.addAttribute("member", member);
   return model;
 }
 @RequestMapping("/insert")
 public void insert(
     @RequestParam("id") String id,
     @RequestParam("password") String password,
     String email,
     String phone,
     Model model) {
   logger.info("insert 진입");
   logger.info("id{}", id);
   logger.info("password{}", password);
   logger.info("email{}", email);
   logger.info("phone{}", phone);
   member = memberService.selectById(id);
   member.setPassword(password);
   member.setEmail(email);
   member.setPhone(phone);
   int result = memberService.change(member);
   model.addAttribute("result", id + " 님의 정보수정을 완료했습니다.");
 }
 @RequestMapping("/login")
 public void login(String id, String password, Model model) {
   System.out.println("아이디 : " + id);
   System.out.println("비번 : " + password);
   member = memberService.login(id, password);
   if (member == null) {
     System.out.println("로그인 실패");
     model.addAttribute("result", "fail");
   } else {
     if (member.getId().equals("choa")) {
       System.out.println("로그인 성공");
       model.addAttribute("admin", member);
       model.addAttribute("result", "success");
     } else {
       System.out.println("로그인 실패");
       model.addAttribute("result", "fail");
     }
   }
 }
 @RequestMapping("/delete")
 public Model delete(String id, Model model) {
   memberService.remove(id);
   model.addAttribute("result", id + "님의 탈퇴를 완료했습니다.");
   return model;
 }