Added better redirection to delete