processing serialization in auth