modified the function validateHomePage due to change in the title.