Added code behind for deleting