Refactor Controllers to return IHttpActionResult
fixed cors conficts
fixed cors conficts