Send id_sequence and id_user to backend via ajax