add CRUD for posts