added header to security entity
removed select if no security types are given