Refactor to use url routes for list and show