tweaked destroy method to avoid error; improved formatting added to views.