@RequestMapping(value = "/admin/addblogaction", method = RequestMethod.POST)
  public String addblogaction(@ModelAttribute("blog") Blog blog, ModelMap model) {
    // TODO how to get blog from url??
    Authentication auth = SecurityContextHolder.getContext().getAuthentication();
    String name = auth.getName();
    logger.debug("name: " + name);
    blog.setInsertDate(new Timestamp(System.currentTimeMillis()));
    blog.setAuthor(name);
    blogService.insertBlog(blog);

    ListResult<Blog> listResult = getBlogsByPage(1, 3);
    model.addAttribute("listOfBlogs", listResult.getFetchedList());
    model.addAttribute("totalPage", listResult.getTotalPage());
    model.addAttribute("currentPage", listResult.getCurrentPage());
    return "admin";
  }