Added the ability to create and update posts