added destroy method to controller and index view