Added security API (incomplete)