add detail page and controller