Refactored adding in a new pending entry on story page, now takes story id from cookie that is current story id