upgraded create user and save example