handle remoteAccess