The last login now works well when there are not enough logins