add data to the render_template on index.php