add view and delete for games