fixing userId saving to disk