Adding a post register Hook