Middleware not working at all...

im really not sure what I am doing wrong? I have followed the docs and I cant get the route to be protected at all. it's not redirecting or even logging the user. is anyone able to help it would be much appreciated?
image.png
Was this page helpful?