Thanks to visit codestin.com Credit goes to github.com
Creating a RESTful API with authentication using Web API 2.x and JSON Web Tokens