added edit posts page, bug present