Changed params to req.params