Error validation check - now we pull back codes when ajax request