Added UserPublicKey domain, update UserAccount domain and controller.
Added test cases to UserAccountServiceTest/ControllerTest.