import os
from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash, redirect



#create app
app = Flask(__name__)

@app.route('/')
def index():
	return render_template('index.html')



#################### run server#######################################################
if __name__ == '__main__' :
	app.run(host='0.0.0.0', port=5001)
@@ -214,16 +214,138 @@
 html')%0A%0A
+@app.route('/login', method = %5B'POST'%5D)%0Adef login():%0A%09return 'login'%0A%0A@app.route('/logout')%0Adef logout():%0A%09return 'logout'
 %0A%0A######

add login, logout url