making ListController RESTful