deal with auth issue in submit_form_locally