Added delete functionality to get view