added csv functionality to users table