can log in two different ways