improve the backend for comments
add the backend for posts