optimize login_token generation
Merge pull request #42 from Bharat311/f-optimize

Optimize login_token generation