Base APIs and security working