Connect with validation