add redirection for delete method