adding JWT token creation code
minor