modified all methods to get the token before execute the request