@app.route('/', methods=['POST', 'GET'])
def login():
    username = request.form['username']
    password = request.form['password']
    db.session.add(username)
    db.session.add(password)
    db.session.commit()
    return render_template('index.html')
@app.route('/', methods=['POST', 'GET'])
def login():
    username = request.form['username']
    password = request.form['password']
    db.session.add(username)
    db.session.add(password)
    db.session.commit()
    return render_template('index.html')