Using logging, better valdation for homepage uniqueness