Reformatting req, res signature to align with rest of code