Added more error handling on enrollemnt_wizard ajax request