posts: this needs to be an object, not a string
main: almost have posts fully working