Added Validation and registration form