makes controllers more RESTful