In legislation enacted on October 31 , Congress made temporary provisions for local civil government to continue as it had under French and Spanish rule and authorized the President to use military forces to maintain order .