Add render_text and rename render to render_template
Adding func param on render