Prepare req and res fora passing to controller