refactoring template rendere, + user helpers