Add user registration support. [Finish #54169160]