This is an example of how to implement a simple api authentication using a token