change the method to get last login info
support mosh login record in LASTLOGIN