adds new route handling

This needs to category_id, not category.
It needs to match the column in the table.