basic crud for posts is working