construct a path using the category's name
kill bugs, refactor routes, fix api