Added ajax response logging