add second argument to be able to auth before analyzing a page