solving token_auth referenced before assginment issue
removing trailing space
Merge pull request #110 from Neetuj/issue81

 solving token_auth referenced before assignment issue