added fix to AJAX errors in user form