on program de;ete, page goes back to dashboard regardless of middleware/db errors