validation and registration done