add delay to auth check