Update user export

Added tests for update export

Fixed export private attribute
Merge pull request #486 from sammyshj/updateexport

Update user export