added the csrf token into the master $.ajaxsetup