class UserClientRest extends BaseClientRest implements UserClient {

    @Override
    public void login(StreamObserver<Login> loginObserver) {
        LoginRequest loginRequest = new LoginRequest.Builder(
                    connectionManager.getClientConfig().getUsername(),
                    connectionManager.getClientConfig().getPassword())
                .build();
        String url = buildLoginUrl();
        postRequest(url, loginRequest, loginObserver, new LoginReader());
    }

    public  UserClientRest(ConnectionManager connectionManager);

}