controller refactorings, trans input twig