add a request_token helper function for parse request token