@RequestMapping("/userInfo.do")
 public String toUserInfo(HttpSession session, Model model) {
   Admin admin = (Admin) session.getAttribute("admin");
   List<Role> roles = adminMapper.findRoleByAdminId(admin.getAdmin_id());
   model.addAttribute("admin", admin);
   model.addAttribute("roles", roles);
   return "user/user_info";
 }
 @RequestMapping("/updateUserInfo.do")
 public String userInfo(Admin admin, HttpSession session, Model model) {
   adminMapper.updateAdmin(admin);
   admin = adminMapper.findById(admin.getAdmin_id());
   session.setAttribute("admin", admin);
   model.addAttribute("admin", admin);
   return "main/index";
 }