Reference
https://www.youtube.com/watch?v=Bk0qC7fNFzg
http://stackoverflow.com/questions/1592534/what-is-token-based-authentication