added active field and idiot proofing of show , index pages
added like functinlity
fix merge conflict