I have created a custom function in middleware which return the data after header token validation. It works fine and I can access the data using postman (Please check the attac