Changed the injection of the token in request