Exporting users base to CSV file