Add route for changing a transaction's category

- add a unique id for transactions