Both editing and deleting work, but need to handle when page should be reloaded