integrated Angela's part

User can now export tables