add resource routes for categories, posts, comments, and votes