refactor routes to be more RESTful