Hi,
Do we maintain last login date time of login users.
Hello,
you can create an AuthenticationEventListener. See an example of a similar solution here