updates for guest login; only generate images if not already generated.