add tabs; add limit/offset for query; table nav