remove middleware injection
Add rack cors after action dispatch