Added new middleware component to prevent non-authd requests from passing