So I am trying to make a middleware which displays a form which asks for a password to enter a route. The problem is that I am in a get rou