change get login info method