add popin redirect, add avatar