routing and params for resources