add background theaded authorize