add serialize to user