added functionality for the ui tables to populate from the server