first restructure of user object