popup registration implementation