Added creating and editing posts.