Custom exception for bad token error

when the access token is bad we should raise a custom error