addded required middleware class for CORS