adding uid field to registration table