changed the way of rendering templates to the blaze way of doing things.