Created CRUD actions for posts