class OrganisationCreationKnowledgeBaseController extends AbstractOrganisationCreationController {

    @GetMapping("/confirm")
    public String confirmKnowledgeBaseDetails(Model model,
                                              UserResource user,
                                              HttpServletRequest request) {
        Optional<OrganisationTypeForm> organisationTypeForm = registrationCookieService.getOrganisationTypeCookieValue(request);
        Optional<KnowledgeBaseCreateForm> knowledgeBaseCreateForm = registrationCookieService.getKnowledgeBaseDetailsValue(request);
        Optional<AddressResource> address = registrationCookieService.getKnowledgeBaseAddressCookie(request);
        model.addAttribute("type", knowledgeBaseCreateForm.isPresent() ? knowledgeBaseCreateForm.get().getType() : null);
        model.addAttribute("organisationName", knowledgeBaseCreateForm.isPresent() ? knowledgeBaseCreateForm.get().getName() : null);
        model.addAttribute("identification", knowledgeBaseCreateForm.isPresent() ? knowledgeBaseCreateForm.get().getIdentification() : null);
        model.addAttribute("address", address.orElse(null));
        model.addAttribute("isLeadApplicant", registrationCookieService.isLeadJourney(request));


        addPageSubtitleToModel(request, user, model);
        return TEMPLATE_PATH + "/" + KNOWLEDGE_BASE_CONFIRM_ORGANISATION;
    }

}