added detail page and its controller