Additions in function of registration of the user