created show and edit views; updated maintenance controller