complete the register
finsih the login