User registration using new lib.