@RequestMapping(value = "/list", method = RequestMethod.GET)
    public String start(ModelMap modelMap, HttpSession session) {
        List<Content> restrictedContentList = new ArrayList<>();

        Integer numberOfElementsToDisplay = (contentService.getAll().size() >= 5) ? 5 : contentService.getAll().size();
        if (session.getAttribute("number") != null && ((Integer)session.getAttribute("number")) >= 5) {
            numberOfElementsToDisplay = (Integer) session.getAttribute("number");
        }

        if (numberOfElementsToDisplay > 0) {
            for (int i = 0; i < numberOfElementsToDisplay; i++) {
                restrictedContentList.add(contentService.getAll().get(i));
            }
        }
        modelMap.addAttribute("contentList", restrictedContentList);
        modelMap.addAttribute("contentForm", new ContentForm());
        return "list";
    }