customized exception for InvalidTokenError, to check validity of the token being passed into the authentication is valid or not - to prevent possible list index of out range error