serializing user models