completed the registeration module