- add code to render validation errors
- also throw argumenterror when the url doesnt resolve
moved the extraction code from the controller into the model