[NGRINDER-678]Allow user registration
Fixed typo and some improper codes