Made controllers more RESTful