added page content verification after getting main page.