Add user as object to specification
Modify unpack/pack to use fields definition