Added cors client and updated web api to support for cors