fetch resources info and set choices in job submission form