add view and delete buttons