Add CRUD functions

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