Added ability to export users info to csv file for email