@RequestMapping(value = "/personal/queries/answer/{id:[0-9]+}",  method = RequestMethod.GET)
    @AuthRequired
    public String writeAnswer(Model model, HttpServletRequest request,
                                         @PathVariable String id){
        String sessionId = SessionService.getCookieValue(request, "SESSIONID");
        try {
            if (recommendationsDao.checkAccessRights(sessionService.getSessionUser(sessionId), new Long(id), "queries")){
                model.addAttribute("recForm",new RecommendationWritingForm());
                model.addAttribute("subject", recommendationsDao.byId(new Long(id)));
                return "writeRecommendation";
            }
        } catch (NoIdException e) {
            model.addAttribute("message","Some problems.");
        }
        return "redirect:/personal/queries";
    }