Fixed login log activity entry
Store key in collection records to improve performance