added temporary token to headers for quary server