created a index anddetails and a modified tmeplate for admin page, and some name spaces for the detail page with a in template loop