login. logout, register finish