finished up get/post/put endpoints for comments and posts