register the data of user