Refactored routes to be more RESTful