Refactored user/setting/login client.