return token and palyload via getToken getPayload
public method calls for getToken and getPayload