add controller for showing a word's details