Added method for getting login history in .CSV format.