Getting flask to render a template