Adding cookies to security module