Redirect the top level to the API's entry point
Add middlware for AnonymousUser