https://elanderson.net/2015/10/adding-authorize-to-a-web-api/
Adding Authorize to a Web API