post register handler