add param req, res, process into route pages