Added possibility to edit posts.