def index(): resp = make_response(render_template("index.html")) if "user" not in request.cookies: resp.set_cookie('user', base64.b64encode(b'user with no name')) return resp