fetch remote codes only after saving user