the token expiration time should be in the configuration file
previous commit
getTime() returns ms not sec. need to divide by 1000