list tables api implementation at backend