Collisional particle-in-cell modelling of the generation and control of relativistic electron beams produced by ultra-intense laser pulses