add registered and anonymous apply support