Add CRUD functions

- [x] posts
- [ ] messages
- [ ] profiles