def index(): if 'username' in session: username = session['username'] title = 'Index' return render_template('index.html', title = title)