Updates to integration of security API after testing