Updated to use call out to security