added styling and validated pages