added edit story functionality and added delete button