adding the edit show new and index pages