renamed my params for /:id and other formating