Added creating and editing of posts