Added support to store the token in the request