Adding some example on how to secure your API endpoints