add keygen app auth query