table styling updated. made endpoint formatting as table