Add categories for posts

should this be `render :index`?