functioning actions in controller and views; delete, edit, show