Registration page: Validation for password, confirm password, and agreement