Adding delete function to wiki controller