Secure the API