route provider add cross origin method