function for rendering wallet table.