creation of posts working. Ready for merge.