Case-insensitive getLastLogEntry, added 'lastlog' command