updated libraries, adapted code
updated libraries, adapted code
updated libraries, adapted code, removed hacky support for remoteUser