use token when get media