A third party token based authentication in JSON protocol