Added validation of token's expiration of date.