login&logout complete