define get request token fn
get request token