Implement last login logging
It would be nice to have a fast mechanism to store last login timestamps, either write it directly to the database or go through some proxying service (to reduce write load on the db, last login timestamps only need to be eventually consistent).