I have this code:
def signup(fname, email, password):
    user={
        "name": fname,
        "email":email,
        "password":password
    }
@app.route('/', methods =["GET", "POST"])
def login():
    if request.method == "POST":
       name = request.form.get("fname")
       email = request.form.get("email")
       password = request.form.get('password')
       signup(name, email, password)
       return redirect(url_for('user_blueprint.main', usr = name))
    return render_template('form.html')
Blueprint:
@user.route('/<usr>')
def main(usr):
    return f'Hello {usr}'
When I get to the page the url changes to ip/user/username, and if I change the 'username' of the url my html (which returns the name) also changes, can anyone tell me how to make my page no change? I dont mind if my url doesn't have to contain the username, but when i dont put it, flask gives me the error 'missing arguments'.
 
    