Checking the token expiry time

Checking if our token has expired.