added show and edit views but edit does not function yet