setup CRUD in seperate posts.js file, filled out