set userid before setting up fs issue #475