add a plv8x func getauth to get authed user id in current connection.