add edit and show pages with action controller