fixed issues with user deserialization