added redirection after record deletion