adding delete controller method