Finish register and login part