Proper middleware handler and loader...

-Dx