implemented term deletion in the controller - closes #11