validate homepage