Removed unused imports - jsonify and template render.