adding controller for post mortem

* set up hash parameters in routes