Changing the Registration precedore now there is a link between user and there invitation