fix adding group gift with ajax login