checks that only admin can see delete button