Add a date field called “Last logged in date” to the user object.

Add to the “log the user in” workflow a “modify the user” action that sets the current date to the above “last logged in date” field…