added deletetags method and wired to controller