Implemented register and getUserDetails methods of
JavaSpaceAccountService.