Added the support for cors for a particular use-case