add the Categories REST endpoint
commit changes to database for Categories