day 3, register and login