adding ping monitor and croos origin headers