Checking if the token has expired
Name variable issue
Merge pull request #1 from nandodelauni/master

Added method to check if the the token is valid and is not expired.