working with remote server
end session